<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>cr-fonts: Libcroco Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="index.html" title="Libcroco Reference Manual">
<link rel="up" href="ch01.html" title="Extensive APIs description">
<link rel="prev" href="libcroco-cr-enc-handler.html" title="cr-enc-handler">
<link rel="next" href="libcroco-cr-input.html" title="cr-input">
<meta name="generator" content="GTK-Doc V1.24 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#libcroco-cr-fonts.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="libcroco-cr-enc-handler.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="libcroco-cr-input.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="libcroco-cr-fonts"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="libcroco-cr-fonts.top_of_page"></a>cr-fonts</span></h2>
<p>cr-fonts</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="libcroco-cr-fonts.functions"></a><h2>Functions</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-new" title="cr_font_family_new ()">cr_font_family_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-append" title="cr_font_family_append ()">cr_font_family_append</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-to-string" title="cr_font_family_to_string ()">cr_font_family_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-prepend" title="cr_font_family_prepend ()">cr_font_family_prepend</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-destroy" title="cr_font_family_destroy ()">cr_font_family_destroy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-family-set-name" title="cr_font_family_set_name ()">cr_font_family_set_name</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-new" title="cr_font_size_new ()">cr_font_size_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-clear" title="cr_font_size_clear ()">cr_font_size_clear</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-copy" title="cr_font_size_copy ()">cr_font_size_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-predefined-absolute-font-size" title="cr_font_size_set_predefined_absolute_font_size ()">cr_font_size_set_predefined_absolute_font_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-relative-font-size" title="cr_font_size_set_relative_font_size ()">cr_font_size_set_relative_font_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-absolute-font-size" title="cr_font_size_set_absolute_font_size ()">cr_font_size_set_absolute_font_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-set-to-inherit" title="cr_font_size_set_to_inherit ()">cr_font_size_set_to_inherit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-set-to-inherit" title="cr_font_size_is_set_to_inherit ()">cr_font_size_is_set_to_inherit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-to-string" title="cr_font_size_to_string ()">cr_font_size_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-destroy" title="cr_font_size_destroy ()">cr_font_size_destroy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="returnvalue">CRFontSizeAdjust</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-new" title="cr_font_size_adjust_new ()">cr_font_size_adjust_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-to-string" title="cr_font_size_adjust_to_string ()">cr_font_size_adjust_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-adjust-destroy" title="cr_font_size_adjust_destroy ()">cr_font_size_adjust_destroy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-smaller-predefined-font-size" title="cr_font_size_get_smaller_predefined_font_size ()">cr_font_size_get_smaller_predefined_font_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-get-larger-predefined-font-size" title="cr_font_size_get_larger_predefined_font_size ()">cr_font_size_get_larger_predefined_font_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-size-is-predefined-absolute-font-size" title="cr_font_size_is_predefined_absolute_font_size ()">cr_font_size_is_predefined_absolute_font_size</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-style-to-string" title="cr_font_style_to_string ()">cr_font_style_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-weight-to-string" title="cr_font_weight_to_string ()">cr_font_weight_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">enum <span class="returnvalue">CRFontWeight</span>
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-weight-get-bolder" title="cr_font_weight_get_bolder ()">cr_font_weight_get_bolder</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-variant-to-string" title="cr_font_variant_to_string ()">cr_font_variant_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="libcroco-cr-fonts.html#cr-font-stretch-to-string" title="cr_font_stretch_to_string ()">cr_font_stretch_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libcroco-cr-fonts.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily">CRFontFamily</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeType" title="enum CRFontSizeType">CRFontSizeType</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize">CRFontSize</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust">CRFontSizeAdjust</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="libcroco-cr-fonts.description"></a><h2>Description</h2>
</div>
<div class="refsect1">
<a name="libcroco-cr-fonts.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="cr-font-family-new"></a><h3>cr_font_family_new ()</h3>
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
cr_font_family_new (<em class="parameter"><code><span class="type">enum CRFontFamilyType</span> a_type</code></em>,
                    <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);</pre>
<p>create a font family.</p>
<p>Returns the newly built font family.</p>
<div class="refsect3">
<a name="id-1.2.8.6.2.6"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_type</p></td>
<td class="parameter_description"><p>the type of font family to create.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_name</p></td>
<td class="parameter_description"><p>the name of the font family.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-family-append"></a><h3>cr_font_family_append ()</h3>
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
cr_font_family_append (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
                       <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_append</code></em>);</pre>
<p>Returns the new font family list.</p>
<div class="refsect3">
<a name="id-1.2.8.6.3.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_family_to_append</p></td>
<td class="parameter_description"><p>the font family to append to the list</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-family-to-string"></a><h3>cr_font_family_to_string ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="returnvalue">guchar</span></a> *
cr_font_family_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> const *a_this</code></em>,
                          <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> a_walk_font_family_list</code></em>);</pre>
<p>Returns the seriliazed font family. The caller has to free it using
<a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.8.6.4.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_walk_font_family_list</p></td>
<td class="parameter_description"><p>wether the serialize the entire list.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-family-prepend"></a><h3>cr_font_family_prepend ()</h3>
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="returnvalue">CRFontFamily</span></a> *
cr_font_family_prepend (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
                        <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_family_to_prepend</code></em>);</pre>
<p>Returns the font family list.</p>
<div class="refsect3">
<a name="id-1.2.8.6.5.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_family_to_prepend</p></td>
<td class="parameter_description"><p>the font family to prepend to the list.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-family-destroy"></a><h3>cr_font_family_destroy ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_font_family_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>);</pre>
<p>Returns CR_OK upon sucessful completion, an error code otherwise.</p>
<div class="refsect3">
<a name="id-1.2.8.6.6.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-family-set-name"></a><h3>cr_font_family_set_name ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_font_family_set_name (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a> *a_this</code></em>,
                         <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#guchar"><span class="type">guchar</span></a> *a_name</code></em>);</pre>
<p>Returns CR_OK upon sucessful completion, an error code otherwise.</p>
<div class="refsect3">
<a name="id-1.2.8.6.7.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontFamily" title="struct CRFontFamily"><span class="type">CRFontFamily</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_name</p></td>
<td class="parameter_description"><p>the new name</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-new"></a><h3>cr_font_size_new ()</h3>
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="returnvalue">CRFontSize</span></a> *
cr_font_size_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns the newly created font size.</p>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-clear"></a><h3>cr_font_size_clear ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_font_size_clear (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);</pre>
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
<div class="refsect3">
<a name="id-1.2.8.6.9.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-copy"></a><h3>cr_font_size_copy ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_font_size_copy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_dst</code></em>,
                   <em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_src</code></em>);</pre>
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
<div class="refsect3">
<a name="id-1.2.8.6.10.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_dst</p></td>
<td class="parameter_description"><p>the destination <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> (where to copy to).</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_src</p></td>
<td class="parameter_description"><p>the source <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> (where to copy from).</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-set-predefined-absolute-font-size"></a><h3>cr_font_size_set_predefined_absolute_font_size ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_font_size_set_predefined_absolute_font_size
                               (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
                                <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_predefined</code></em>);</pre>
<p>Returns CR_OK upon sucessful completion, an error code otherwise.</p>
<div class="refsect3">
<a name="id-1.2.8.6.11.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_predefined</p></td>
<td class="parameter_description"><p>what to set.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-set-relative-font-size"></a><h3>cr_font_size_set_relative_font_size ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_font_size_set_relative_font_size (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
                                     <em class="parameter"><code><span class="type">enum CRRelativeFontSize</span> a_relative</code></em>);</pre>
<p>Returns CR_OK upon successful completion, an error code otherwise.</p>
<div class="refsect3">
<a name="id-1.2.8.6.12.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_relative</p></td>
<td class="parameter_description"><p>the new relative font size</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-set-absolute-font-size"></a><h3>cr_font_size_set_absolute_font_size ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_font_size_set_absolute_font_size (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>,
                                     <em class="parameter"><code><span class="type">enum CRNumType</span> a_num_type</code></em>,
                                     <em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> a_value</code></em>);</pre>
<p>Returns CR_OK upon succesful completion, an error code otherwise.</p>
<div class="refsect3">
<a name="id-1.2.8.6.13.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_num_type</p></td>
<td class="parameter_description"><p>the type of number to set.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_value</p></td>
<td class="parameter_description"><p>the actual value to set.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-set-to-inherit"></a><h3>cr_font_size_set_to_inherit ()</h3>
<pre class="programlisting">enum <a class="link" href="libcroco-cr-utils.html#CRStatus" title="enum CRStatus"><span class="returnvalue">CRStatus</span></a>
cr_font_size_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_this</code></em>);</pre>
<p>Returns CR_OK upon succesful completion, an error code otherwise.</p>
<div class="refsect3">
<a name="id-1.2.8.6.14.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> </p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-is-set-to-inherit"></a><h3>cr_font_size_is_set_to_inherit ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
cr_font_size_is_set_to_inherit (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);</pre>
<p>Returns TRUE if the current instance is set to 'inherit'.</p>
<div class="refsect3">
<a name="id-1.2.8.6.15.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-to-string"></a><h3>cr_font_size_to_string ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
cr_font_size_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> const *a_this</code></em>);</pre>
<p>Returns the serialized form of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a>. The returned string
has to bee freed using <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.8.6.16.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-destroy"></a><h3>cr_font_size_destroy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
cr_font_size_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSize" title="struct CRFontSize"><span class="type">CRFontSize</span></a> *a_font_size</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.8.6.17.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_font_size</p></td>
<td class="parameter_description"><p>the font size to destroy</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-adjust-new"></a><h3>cr_font_size_adjust_new ()</h3>
<pre class="programlisting"><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="returnvalue">CRFontSizeAdjust</span></a> *
cr_font_size_adjust_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Returns a newly built instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a></p>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-adjust-to-string"></a><h3>cr_font_size_adjust_to_string ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
cr_font_size_adjust_to_string (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> const *a_this</code></em>);</pre>
<p>Returns the serialized form of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a></p>
<div class="refsect3">
<a name="id-1.2.8.6.19.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-adjust-destroy"></a><h3>cr_font_size_adjust_destroy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
cr_font_size_adjust_destroy (<em class="parameter"><code><a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a> *a_this</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.8.6.20.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_this</p></td>
<td class="parameter_description"><p>the current instance of <a class="link" href="libcroco-cr-fonts.html#CRFontSizeAdjust" title="struct CRFontSizeAdjust"><span class="type">CRFontSizeAdjust</span></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-get-smaller-predefined-font-size"></a><h3>cr_font_size_get_smaller_predefined_font_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
cr_font_size_get_smaller_predefined_font_size
                               (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
                                <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_smaller_size</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-get-larger-predefined-font-size"></a><h3>cr_font_size_get_larger_predefined_font_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
cr_font_size_get_larger_predefined_font_size
                               (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>,
                                <em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> *a_larger_size</code></em>);</pre>
<div class="refsect3">
<a name="id-1.2.8.6.22.4"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>a_font_size</p></td>
<td class="parameter_description"><p>the font size to consider.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>a_larger_size</p></td>
<td class="parameter_description"><p>out parameter. the font size considered larger than
<em class="parameter"><code>a_font_size</code></em>
.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-size-is-predefined-absolute-font-size"></a><h3>cr_font_size_is_predefined_absolute_font_size ()</h3>
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
cr_font_size_is_predefined_absolute_font_size
                               (<em class="parameter"><code><span class="type">enum CRPredefinedAbsoluteFontSize</span> a_font_size</code></em>);</pre>
<p>Returns TRUE if the instance is an predefined absolute font size, FALSE
otherwise.</p>
<div class="refsect3">
<a name="id-1.2.8.6.23.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_font_size</p></td>
<td class="parameter_description"><p>the font size to consider.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-style-to-string"></a><h3>cr_font_style_to_string ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
cr_font_style_to_string (<em class="parameter"><code><span class="type">enum CRFontStyle</span> a_code</code></em>);</pre>
<p>Returns the serialized <span class="type">CRFontStyle</span>. The caller must free the returned
string using <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.8.6.24.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_code</p></td>
<td class="parameter_description"><p>the current instance of <span class="type">CRFontStyle</span> .</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-weight-to-string"></a><h3>cr_font_weight_to_string ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
cr_font_weight_to_string (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_code</code></em>);</pre>
<p>Returns the serialized form of <span class="type">CRFontWeight</span>.</p>
<div class="refsect3">
<a name="id-1.2.8.6.25.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_code</p></td>
<td class="parameter_description"><p>the font weight to consider.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-weight-get-bolder"></a><h3>cr_font_weight_get_bolder ()</h3>
<pre class="programlisting">enum <span class="returnvalue">CRFontWeight</span>
cr_font_weight_get_bolder (<em class="parameter"><code><span class="type">enum CRFontWeight</span> a_weight</code></em>);</pre>
<p>Returns a font weight bolder than <em class="parameter"><code>a_weight</code></em>
</p>
<div class="refsect3">
<a name="id-1.2.8.6.26.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_weight</p></td>
<td class="parameter_description"><p>the <span class="type">CRFontWeight</span> to consider.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-variant-to-string"></a><h3>cr_font_variant_to_string ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
cr_font_variant_to_string (<em class="parameter"><code><span class="type">enum CRFontVariant</span> a_code</code></em>);</pre>
<p>Returns the serialized form of <span class="type">CRFontVariant</span>. The caller has
to free the returned string using <a href="https://developer.gnome.org/glib/unstable/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.</p>
<div class="refsect3">
<a name="id-1.2.8.6.27.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_code</p></td>
<td class="parameter_description"><p>the current instance of <span class="type">CRFontVariant</span>.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="cr-font-stretch-to-string"></a><h3>cr_font_stretch_to_string ()</h3>
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
cr_font_stretch_to_string (<em class="parameter"><code><span class="type">enum CRFontStretch</span> a_code</code></em>);</pre>
<p>Returns the serialized form of <span class="type">CRFontStretch</span>.</p>
<div class="refsect3">
<a name="id-1.2.8.6.28.5"></a><h4>Parameters</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>a_code</p></td>
<td class="parameter_description"><p>the instance of <span class="type">CRFontStretch</span> to consider.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
</div>
<div class="refsect1">
<a name="libcroco-cr-fonts.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="CRFontFamily"></a><h3>struct CRFontFamily</h3>
<pre class="programlisting">struct CRFontFamily {
	enum CRFontFamilyType type ;

	/*
	 *The name of the font family, in case
	 *it is non generic.
	 *Is set only if the type is FONT_FAMILY_NON_GENERIC.
	 */
	guchar *name ;

	CRFontFamily *next ;
	CRFontFamily *prev ;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="CRFontSizeType"></a><h3>enum CRFontSizeType</h3>
<div class="refsect3">
<a name="id-1.2.8.7.3.3"></a><h4>Members</h4>
<div class="informaltable"><table width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="PREDEFINED-ABSOLUTE-FONT-SIZE:CAPS"></a>PREDEFINED_ABSOLUTE_FONT_SIZE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="ABSOLUTE-FONT-SIZE:CAPS"></a>ABSOLUTE_FONT_SIZE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="RELATIVE-FONT-SIZE:CAPS"></a>RELATIVE_FONT_SIZE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="INHERITED-FONT-SIZE:CAPS"></a>INHERITED_FONT_SIZE</p></td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="NB-FONT-SIZE-TYPE:CAPS"></a>NB_FONT_SIZE_TYPE</p></td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="CRFontSize"></a><h3>struct CRFontSize</h3>
<pre class="programlisting">struct CRFontSize {
        enum CRFontSizeType type ;
        union  {
                enum CRPredefinedAbsoluteFontSize predefined ;
                enum CRRelativeFontSize relative ;
                CRNum absolute ;
        } value;
};
</pre>
</div>
<hr>
<div class="refsect2">
<a name="CRFontSizeAdjust"></a><h3>struct CRFontSizeAdjust</h3>
<pre class="programlisting">struct CRFontSizeAdjust {
        enum CRFontSizeAdjustType type ;
        CRNum *num ;
};
</pre>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.24</div>
</body>
</html>